package com.ruoyi.sys.garden.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公告对象 tb_announcement
 * 
 * @author jinsuo
 * @date 2022-05-24
 */
public class TbAnnouncement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long aId;

    /** 标题 */
    @Excel(name = "标题")
    private String aTitle;

    /** 类型(0:公告1:招商宣传2:通知3：轮播) */
    @Excel(name = "类型(0:公告1:招商宣传2:通知3：轮播)")
    private Long aType;

    /** 来源 */
    @Excel(name = "来源")
    private String aSource;

    /**发布期限(范围) */
    @Excel(name = " 发布期限(范围)")
    private String aTime;

    /** 状态（0：未发布1：已发布2：已撤销） */
    @Excel(name = "状态", readConverterExp = "0=：未发布1：已发布2：已撤销")
    private String aState;

    public void setaId(Long aId) 
    {
        this.aId = aId;
    }

    public Long getaId() 
    {
        return aId;
    }
    public void setaTitle(String aTitle) 
    {
        this.aTitle = aTitle;
    }

    public String getaTitle() 
    {
        return aTitle;
    }
    public void setaType(Long aType) 
    {
        this.aType = aType;
    }

    public Long getaType() 
    {
        return aType;
    }
    public void setaSource(String aSource) 
    {
        this.aSource = aSource;
    }

    public String getaSource() 
    {
        return aSource;
    }
    public void setaTime(String aTime) 
    {
        this.aTime = aTime;
    }

    public String getaTime() 
    {
        return aTime;
    }
    public void setaState(String aState) 
    {
        this.aState = aState;
    }

    public String getaState() 
    {
        return aState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("aId", getaId())
            .append("aTitle", getaTitle())
            .append("aType", getaType())
            .append("aSource", getaSource())
            .append("aTime", getaTime())
            .append("aState", getaState())
            .toString();
    }
}
